<!--
 * @Description: 
 * @Author: chaixinyu
 * @Date: 2022-12-20 19:08:34
 * @LastEditors: 47
 * @LastEditTime: 2023-01-06 21:29:55
-->
<template>
  <router-view v-if="isRouteActive"></router-view>
</template>

<script setup>
import { provide, ref, nextTick } from 'vue'
const isRouteActive = ref(true);
provide('reload', ()=>{
    isRouteActive.value = false;
    nextTick(()=>{
      isRouteActive.value = true;
    })
})
</script>

<style lang="less">
</style>
